package com.mygdx.game.desktop;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.mygdx.game.ActionDemo;
import com.mygdx.game.AnimationDemo;
import com.mygdx.game.Box2DDemo;
import com.mygdx.game.Box2DTest;
import com.mygdx.game.Box2DTest2;
import com.mygdx.game.FirstGame;
import com.mygdx.game.LoadingDemo;
import com.mygdx.game.MapDemo;
import com.mygdx.game.MapScaleDemo;
import com.mygdx.game.MapTransferDemo;
import com.mygdx.game.MyGdxGame;
import com.mygdx.game.ScaleAndTransferDemo;
import com.mygdx.game.ScreenDemo;
import com.mygdx.game.SpriteDemo;
import com.mygdx.game.StageAndActorDemo;
import com.mygdx.game.SuperMarioCollisionTest;
import com.mygdx.game.SuperMarioDemo;
import com.mygdx.game.SuperMarioTest;
import com.mygdx.game.TouchpadDemo;
import com.mygdx.game.WindowDemo;
import com.mygdx.game.animation.AnimationTest1;
import com.mygdx.game.part1.MartianRun;

public class DesktopLauncher {

    public static void main(String[] arg) {
        LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
        config.width = 480;
        config.height = 320;
        switch (num) {
            case 0:
                new LwjglApplication(new MyGdxGame(), config);
                break;
            case 1:
                new LwjglApplication(new FirstGame(), config);
                break;
            case 2:
                new LwjglApplication(new ScaleAndTransferDemo(), config);
                break;
            case 3:
                new LwjglApplication(new SpriteDemo(), config);
                break;
            case 4:
                new LwjglApplication(new StageAndActorDemo(), config);
                break;
            case 5:
                new LwjglApplication(new ActionDemo(), config);
                break;
            case 6:
                new LwjglApplication(new AnimationDemo(), config);
                break;
            case 7:
                new LwjglApplication(new ScreenDemo(), config);
                break;
            case 8:
                config.width = 320;
                config.height = 480;
                new LwjglApplication(new MapDemo(), config);
                break;
            case 9:
                new LwjglApplication(new MapTransferDemo(), config);
                break;
            case 10:
                new LwjglApplication(new MapScaleDemo(), config);
                break;
            case 11:
                new LwjglApplication(new Box2DDemo(), config);
                break;
            case 12://LoadingDemo
                new LwjglApplication(new LoadingDemo(), config);
                break;
            case 13://AnimationTest
                new LwjglApplication(new AnimationTest1(), config);
                break;
            case 14://Super Mario Test
                new LwjglApplication(new SuperMarioDemo(), config);
                break;
            case 15://Super Mario Demo
                new LwjglApplication(new SuperMarioTest(), config);
                break;
            case 16://Super Mario Collision Demo
                new LwjglApplication(new SuperMarioCollisionTest(), config);
                break;
            case 17:
                config.width = 320;
                config.height = 480;
                new LwjglApplication(new Box2DTest(), config);
                break;
            case 18:
                config.width = 320;
                config.height = 480;
                new LwjglApplication(new Box2DTest2(), config);
                break;
            case 19:
                new LwjglApplication(new TouchpadDemo(), config);
                break;
            case 20:
                new LwjglApplication(new WindowDemo(), config);
                break;
            case 21:
                new LwjglApplication(new MartianRun(), config);
                break;
        }
    }

    public static int num = 21;
}
